import type { AppRouteModule } from '@/router/types'

import { LAYOUT } from '@/router/constant'

const examination: AppRouteModule = {
  path: '/examination',
  name: 'Examination',
  component: LAYOUT,
  redirect: '/examination/index',
  meta: {
    hideChildrenInMenu: true,
    svg: 'examination',
    title: '合规审查',
    orderNo: 1,
  },
  children: [
    {
      path: 'index',
      name: 'ExaminationPage',
      component: () => import('@/views/examination/index.vue'),
      meta: {
        title: '合规审查',
        svg: 'examination',
        hideMenu: true,
      },
    },
  ],
}

export default examination
